package org.force4spring.query;

/**
 * Default implementation of <code>QueryFactory</code> which dispenses
 * <code>QueryImpl</code> instances.
 * 
 * @author Max Rudman
 */
public class DefaultQueryFactory implements QueryFactory {
	public Query createQuery() {
		return new QueryImpl();
	}
	
	public Query createSubQuery() {
		return createQuery();
	}
}
